<?php
header ( 'content-type:text/html; charset=utf-8' );
session_start ();
@$id = $_REQUEST ['id'];

$pdo=new PDO('mysql:dbname=can;charset=utf8','root');
$s=$pdo->prepare('select * from cai where id=:id');
$s->execute(array('id'=>$id));
$a=$s->fetch(PDO::FETCH_NAMED);
?>
<!DOCTYPE html>
<html>
   <head>
      <title>消息</title>
	  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" charset="UTF-8" >
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <link href="css/bootstrap.min.css" rel="stylesheet">
      <script src="js/jquery-1.11.1.min.js"></script>
      <script src="js/bootstrap.min.js"></script>
      <!--[if lt IE 9]>
         <script src="js/html5shiv.js"></script>
         <script src="js/respond.min.js"></script>
      <![endif]-->
   </head>
   <style>
   	body{ padding-top:50px; }
   </style>
<body>
						<div class="container">
						<div class="row">
						<div class="col-sm-3 col-md-3 col-lg-3"></div>
						<div class="col-sm-6 col-md-5 col-lg-6">
                       	<div class="panel panel-primary">
           				 <div class="panel-heading">
                			<h2 class="panel-title">
                    		<span class="glyphicon glyphicon-trash"></span>　删除确认
                			</h2>
            					</div>
                        			<div class="primary-body">
                        			     <h4>　你确定要删除菜品 [<?php echo $a['name']?>] 吗？　</h4>
                        			</div>
                        			<div class="modal-footer">
                        				<a type="button" class="btn btn-danger" href="san5.php?id=<?php echo $a['id'];?>">确定</a>
                        				<a href="cpl.php"><button type="button" class="btn btn-success">取消</button></a>
                        			</div>
                        		</div>
                        		</div>
                        		</div>
                        		</div>
                        </body>
                        </html>